在 Ubuntu 上安裝 powerline


Posted by Calon on 2022-04-26

  1. 使用下面指令安裝:
    $ sudo apt update && sudo apt install powerline fonts-powerline
    
  2. 安裝軟件包後,必須修改 .bashrc 文件,這段是在檢查安裝路徑中是否存在文件 powerline.sh:
    if [ -f /usr/share/powerline/bindings/bash/powerline.sh ]; then
    source /usr/share/powerline/bindings/bash/powerline.sh
    fi
    
  3. 保存退出後,重新啟動終端機。

參考資料

#linux







Related Posts

W24_前端框架 redux middleware 以及 SSR、Next.js、TypeScript

W24_前端框架 redux middleware 以及 SSR、Next.js、TypeScript

路由系統route 路由設計routing

路由系統route 路由設計routing

DEC 14 2023 PROCL-5: User does not have permission to perform a local registry operation on this key. Authentication error [User [root] [已解決]

DEC 14 2023 PROCL-5: User does not have permission to perform a local registry operation on this key. Authentication error [User [root] [已解決]


Comments